package com.situ.web.servlet;

import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class life
 */
@WebServlet("/life")
public class life extends HttpServlet {
	@Override
		public void init(ServletConfig config) throws ServletException {
			System.out.println("life.init()");
			super.init(config);
		}
	@Override
		protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
			System.out.println("life.service()");
			super.service(req, resp);
		}
	
    public life() {
        super();
       System.out.println("life.life()");
    }

}
